.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

h3,
h2,
ul,
p,
body {
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

.bnav {
    position: fixed;
    /* 固定的盒子 */
    left: 0;
    bottom: 0;
    width: 100%;
    /* 不设置为内容宽度 */
    background-color: #fff;
    z-index: 9;
    display: flex;
    /* 横着放 */
}

.bnav>li {
    width: 25%;
    text-align: center;
}

.bnav svg {
    font-size: 40px;
    line-height: 50px;
}

.bnav p {
    font-size: 14px;
    line-height: 28px;
}

.bnav a {
    color: #333;
}

body {
    margin-bottom: 80px;
    /* 最下面的东西可以显示（不会被nav挡住） */
}



.tab {
    width: 100%auto;
    margin: 10px;

}

.tt {
    display: flex;
    border-bottom: 1px solid #c00;
}

.tt>span {
    width: 120px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
}

.tt>.cur {
    border-top: 1px solid #c00;
    border-left: 1px solid #c00;
    border-right: 1px solid #c00;
    color: #c00;
    background-color: #fff;
    margin-bottom: -1px;
}

.tc {
    border: 1px solid #c00;
    border-top: none;
    height: 200px;
    font-size: 30px;
    text-align: center;
    line-height: 200px;
    display: none;
}

.show {
    display: block;
}


.list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.list>li {
    width: 200px;
    height: 150px;
    margin: 8px;
    text-align: center;
    font-size: 50px;
    line-height: 150px;
    background-color: #eee;
    user-select: none;
}

.list>.clicked {
    background: linear-gradient(#000, #fff);
    color: #fff;
    font-weight: bold;
}


.box {
    width: 100%;
    padding: 0;
    margin: 0;
    height: 100px;
    background-color: #030;
    color: #fff;
    line-height: 100px;
    text-align: center;
    font-size: 60px;
    margin-bottom: 20px;
    transition: all .6s;
}

.hide {
    display: none;
}

.opacity {
    opacity: 0;
    height: 0;
    font-size: 0;
}

.tab img {
    width: 30%;
}

.tab p {
    padding-top: 5px;
    font-size: 2rem;
}